package com.example.startupdemo;

import android.content.Context;
import android.util.Log;

import androidx.annotation.NonNull;
import androidx.startup.Initializer;

import java.util.Collections;
import java.util.List;

/**
 * @author: tuyrt7 on 2020/11/30.
 */
public class Sdk1Initializer implements Initializer<Sdk1> {

    @NonNull
    @Override
    public Sdk1 create(@NonNull Context context) {
        Sdk1.init(context);
        Log.e("startup", "Sdk1Initializer    create");
        return Sdk1.get();
    }

    @NonNull
    @Override
    public List<Class<? extends Initializer<?>>> dependencies() {
        Log.e("startup", "Sdk1Initializer    dependencies");
        return Collections.emptyList();
    }
}
